package com.halove.remotelyhelper.common.httputil;

/**
 * Copyright (2012-2016) by 杭州九爱科技有限公司. All rights reserved
 * Comments:服务端Api接口返回数据的基类。
 *
 */
public class ApiResponse<T> {
    private int code;

    private String msg;

    private T data;

    public int getCode()
    {
        return code;
    }

    public void setCode(int code)
    {
        this.code = code;
    }

    public String getMsg()
    {
        return msg;
    }

    public void setMsg(String msg)
    {
        this.msg = msg;
    }

    public T getData()
    {
        return data;
    }

    public void setData(T data)
    {
        this.data = data;
    }
}
